package com.haikesi.api.base;

/**
 * 常用参数
 *
 */
public class Constants {
    public static final String TOKEN_PARAM_NAME = "token";
    public static final String TOKEN_SESSION_NAME = "getToken";

    public static final String DEFAULT_DATE_FORMAT = "yyyy-MM-dd hh:mm:ss";

    //BCCA平台
    public static final String SERVICE_KEY = "service_key";
    public static final String SERVICE_ID = "service_id";
    public static final String SERVICE_BACK_URL = "service_back_url";
    public static final String SERVICE_URL = "service_url";

    //大管家平台
    public static final String BIG_SERVICE_URL = "big_url";
    public static final String BIG_APP_ID = "big_service_id";
    public static final String BIG_APP_KEY = "big_service_key";
    public static final String BIG_AP_ID = "big_ap_id";

    //开发者社区
    public static final String KF_SERVICE_URL = "kf_url";
    public static final String KF_SERVICE_ID = "kf_service_id";
    public static final String KF_SERVICE_KEY = "kf_service_key";

    public static final int SQL_RETUN_SUCCESS=0;


    //返回状态
    public static final int RETUN_SUCCESS=0;
    public static final int RETUN_FAIL=1;
    public static final String RETUN_SUCCESS_STRING="true";
    public static final String RETUN_FAIL_STRING="false";

    //订阅状态（0：未发送订阅；1：已发送订阅；2：成功订阅；3：订阅失败）
    public static final int SUBSCRIBER_STATE_0=0;
    public static final int SUBSCRIBER_STATE_1=1;
    public static final int SUBSCRIBER_STATE_2=2;
    public static final int SUBSCRIBER_STATE_3=3;


    //订阅类型（1订阅账号  2 新增账号）
    public static final int SUBSCRIBER_TYPE_1=1;
    public static final int SUBSCRIBER_TYPE_2=2;



    //AOPIS
    public static final String AOPIS_CALLBACK_CODE_SUBSCRIPTION="subscription";
    public static final String AOPIS_CALLBACK_CODE_REPORTMESSAGE="reportMessage";
    public static final String AOPIS_CALLBACK_CODE_PRODUCTUPDATE="productUpdate";
    public static final String AOPIS_CALLBACK_CODE_PRODUCTUPDATE_TYPE_ADD="add";
    public static final String AOPIS_CALLBACK_CODE_PRODUCTUPDATE_TYPE_DELETE="delete";

    public static final String AOPIS_CALLBACK_CODE_NAME="code";
    public static final String AOPIS_CALLBACK_DATA_NAME="data";
    // 订阅 1通过 2未通过
    public static final String AOPIS_CALLBACK_SUBSCRIP_STATUS_1="1";
    public static final String AOPIS_CALLBACK_SUBSCRIP_STATUS_2="2";

}
